import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

// import 'package:toutiao/tt/index/IndexTab.dart';
// import 'package:toutiao/tt/infolist/SearchTxt.dart';

class AskIndex extends StatefulWidget {
  AskIndex();

  @override
  createState() => new AskIndexState();
}

class AskIndexState extends State<AskIndex> {
  Border border;

  AskIndexState();

  @override
  void dispose() {
    super.dispose();
  }

  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return new Row(
      mainAxisAlignment: MainAxisAlignment.center,
      children: [
        SizedBox(
          width: 1024,
          child: new Row(
            mainAxisAlignment: MainAxisAlignment.start,
            children: [
              new Container(
                width: 150,
                // color: Colors.grey,
                padding: const EdgeInsets.only(top: 10),
                child: ListView(
                  // padding: const EdgeInsets.all(8),
                  children: <Widget>[
                    Container(
                      height: 50,
                      // color: Colors.amber[600],
                      color: Colors.blue,
                      child: new FlatButton(
                        onPressed: () {},
                        child: Text(
                          "已解决",
                          style: TextStyle(
                              color: Colors.white, fontWeight: FontWeight.bold),
                        ),
                      ),
                    ),
                    Container(
                      height: 50,
                      // color: Colors.amber[600],
                      //color: Colors.blue,
                      child: new FlatButton(
                        onPressed: () {},
                        child: Text(
                          "未解决",
                          style: TextStyle(
                              color: Colors.grey, fontWeight: FontWeight.bold),
                        ),
                      ),
                    ),
                    Container(
                      height: 50,
                      // color: Colors.amber[600],
                      //color: Colors.blue,
                      child: new FlatButton(
                        onPressed: () {},
                        child: Text(
                          "热门",
                          style: TextStyle(
                              color: Colors.grey, fontWeight: FontWeight.bold),
                        ),
                      ),
                    ),
                  ],
                ),
              ),
              Expanded(
                  child: new Container(
                color: Colors.blue,
              ))
            ],
          ),
        )
      ],
    );
  }
}
